package com.yf.dxapp.module.app.controller.admin.appbanner.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 广告图 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AppBannerRespVO {

    @Schema(description = "注解", requiredMode = Schema.RequiredMode.REQUIRED, example = "28344")
    @ExcelProperty("注解")
    private Long id;

    @Schema(description = "广告图", example = "张三")
    @ExcelProperty("广告图")
    private String name;

    @Schema(description = "IMG-图片")
    @ExcelProperty("IMG-图片")
    private String img;

    @Schema(description = "产品或者分类ID", example = "16973")
    @ExcelProperty("产品或者分类ID")
    private Long linkId;

    @Schema(description = "ENUM-位置:TOP-顶部,CENTER-中部,BOTTOM-底部", example = "1")
    @ExcelProperty("ENUM-位置:TOP-顶部,CENTER-中部,BOTTOM-底部")
    private Integer type;

    @Schema(description = "地址", example = "https://www.iocoder.cn")
    @ExcelProperty("地址")
    private String url;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}